home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / DELPHI / LEDIT108.ZIP / LEDLP / LEDLP_2Z.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1996-06-20  |  1.1 KB  |  58 lines

  1. { This is my Custom About Box designed specifically for TechnoSoft }
  2. unit Ledlp_2z;
  3.  
  4. interface
  5.  
  6. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
  7.   Buttons, ExtCtrls, SysUtils, Menus;
  8.  
  9. type
  10.   TLEMDIAboutBox = class(TForm)
  11.     Panel1: TPanel;
  12.     ProgramIconUp: TImage;
  13.     Panel5: TPanel;
  14.     Panel6: TPanel;
  15.     BitBtn1: TBitBtn;
  16.     ProgramIconDown: TImage;
  17.     ProductName: TLabel;
  18.     Version: TLabel;
  19.     VersionNumber: TLabel;
  20.     Copyright: TLabel;
  21.     Description: TLabel;
  22.     procedure Button1Click(Sender: TObject);
  23.     procedure ProductNameClick(Sender: TObject);
  24.   private
  25.   public
  26.     { Public declarations }
  27.   end;
  28.  
  29. var
  30.   LEMDIAboutBox: TLEMDIAboutBox;
  31.  
  32. implementation
  33.  
  34. {$R *.DFM}
  35.  
  36. { About Box }
  37. procedure TLEMDIAboutBox.Button1Click(Sender: TObject);
  38. begin
  39.   Close;
  40. end;
  41.  
  42. procedure TLEMDIAboutBox.ProductNameClick(Sender: TObject);
  43. begin
  44.   if ProgramIconUp.Visible = True then
  45.   begin
  46.     ProgramIconDown.Visible := True;
  47.     ProgramIconUp.Visible := False;
  48.   end
  49.   else
  50.   begin
  51.     ProgramIconUp.Visible := True;
  52.     ProgramIconDown.Visible := False;
  53.   end;
  54. end;
  55.  
  56. end.
  57.  
  58.